.PHONY:all
all:debug parser http_server

debug:debug.cpp
	g++ -o $@ $^ -ljsoncpp  -std=c++11

http_server:http_server.cc
	g++ -o $@ $^ -ljsoncpp  -lpthread  -std=c++11

parser:parser.cc
	g++ -o $@ $^  -lboost_system -lboost_filesystem -std=c++11

.PHONY:clean
clean:
	rm -rf parser debug http_server
